﻿using CarAppDomain.Base;
using SqlSugar;

namespace CarAppDomain.CarType.Entities
{
    /// <summary>
    /// 销售车型表：包含品牌代码、车系代码、车型代码、车型名称（中英文）、车型型号等信息。包含以下子表：发动机信息表、变速箱信息表、 - 销售的车型信息（领克01 helo 或 01 pro等）
    /// </summary>
     [SugarTable("sales_cartype", TableDescription = "销售车型表")]
    public class SalesCarTypeEntity : BaseEntity
    {
        /// <summary>
        /// 所属品牌代码
        /// </summary>
        [SugarColumn(ColumnDataType = "varchar", Length = 36, IsNullable = false, ColumnDescription = "所属品牌代码")]
        public string? BrandId { get; set; }

        /// <summary>
        /// 所属车系代码（车系ID）
        /// </summary>
        [SugarColumn(ColumnDataType = "varchar", Length = 36, IsNullable = false, ColumnDescription = "所属车系代码")]
        public string? VehicleSeriesId { get; set; }

        /// <summary>
        /// 所属车型代码
        /// </summary>
        [SugarColumn(ColumnDataType = "varchar", Length = 36, IsNullable = false, ColumnDescription = "所属车型代码")]
        public string? CarTypeId { get; set; }
    }
}
